package com.mesnac.filemgr.entity;

import java.util.HashMap;
import java.util.Map;

public class PageFileType {

	public static Map<String,String> pagetype = new HashMap<String,String>();
	
	public static String getStrType(String type){
		if(type.equals("0"))
			return null;
		if(type.equals("1"))
			return "doc,docx";
		if(type.equals("2"))
			return "xls,xlsx";
		if(type.equals("3"))
			return "ppt,pptx";
		if(type.equals("4"))
			return "jpg;bmp;gif;png;jpeg";
		return null;
	}
}
